package com.mtt.erp.goods.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @Description: java类作用描述
 * @Author: guomengzhou
 * @CreateDate: 2019/7/10$ 10:38$
 * @UpdateUser: guomengzhou
 * @UpdateDate: 2019/7/10$ 10:38$
 * @Version: 1.0
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@ApiModel(
        description = "新增商品类型对象"
)
public class TCategoryCreateDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value="父级分类Id",name="parentId")
    private String parentId;

    @ApiModelProperty(value="分类编号",name="code")
    private String code;

    @ApiModelProperty(value="分类名称",name="name")
    private String name;

    @ApiModelProperty(value="排序字段",name="sort")
    private Double sort;
}
